package com.ctshk.rpc.booking.req.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 统一供应商预订单
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-09
 */
@Data


@ApiModel(value = "SupplierOrderSystemFreeCallConfirmReq对象", description = "统一供应商预订单")
public class SupplierOrderSystemFreeCallConfirmReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "销售单号(通用)不能为空")
    @ApiModelProperty(value = "销售单号(通用)")
    private String saleNumber;

    @NotBlank(message = "供應商確認號/訂單號不能为空")
    @ApiModelProperty(value = "供应商订单号")
    private String supplierOrderNumber;

    @ApiModelProperty(value = "附件文件JSON")
    private String filesJson;
}
